package com.dc.project.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class KnowlgQuestionAnalysis implements Serializable {
    /**
     *   题目分析表自增id
     *
     */
    private int analysis_id;

    /**
     *   题目id
     *
     */
    private int fk_question_id;

    /**
     *   题目抽中次数
     *
     */
    private int take_num;

    /**
     *   题目正确率
     *
     */
    private BigDecimal right_probability;

    /**
     *
     */
    private int create_user_id;

    /**
     *
     */
    private String create_user_name;

    /**
     *   创建时间
     *
     */
    private Date create_time;

    /**
     *
     */
    private int update_user_id;

    /**
     *
     */
    private String update_user_name;

    /**
     *   更新时间
     *
     */
    private Date update_time;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


	/**
     */
    private static final long serialVersionUID = 1L;

   
    public int getAnalysis_id() {
		return analysis_id;
	}

	public void setAnalysis_id(int analysis_id) {
		this.analysis_id = analysis_id;
	}

	public int getFk_question_id() {
		return fk_question_id;
	}

	public void setFk_question_id(int fk_question_id) {
		this.fk_question_id = fk_question_id;
	}

	public int getTake_num() {
		return take_num;
	}

	public void setTake_num(int take_num) {
		this.take_num = take_num;
	}

	public BigDecimal getRight_probability() {
		return right_probability;
	}

	public void setRight_probability(BigDecimal right_probability) {
		this.right_probability = right_probability;
	}

	public int getCreate_user_id() {
		return create_user_id;
	}

	public void setCreate_user_id(int create_user_id) {
		this.create_user_id = create_user_id;
	}

	public String getCreate_user_name() {
		return create_user_name;
	}

	public void setCreate_user_name(String create_user_name) {
		this.create_user_name = create_user_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public int getUpdate_user_id() {
		return update_user_id;
	}

	public void setUpdate_user_id(int update_user_id) {
		this.update_user_id = update_user_id;
	}

	public String getUpdate_user_name() {
		return update_user_name;
	}

	public void setUpdate_user_name(String update_user_name) {
		this.update_user_name = update_user_name;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", analysis_id=").append(analysis_id);
        sb.append(", fk_question_id=").append(fk_question_id);
        sb.append(", take_num=").append(take_num);
        sb.append(", right_probability=").append(right_probability);
        sb.append(", create_user_id=").append(create_user_id);
        sb.append(", create_user_name=").append(create_user_name);
        sb.append(", create_time=").append(create_time);
        sb.append(", update_user_id=").append(update_user_id);
        sb.append(", update_user_name=").append(update_user_name);
        sb.append(", update_time=").append(update_time);
        sb.append("]");
        return sb.toString();
    }

}